<template>
  <img alt="Vue logo" src="./assets/logo.png">
  <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  <myComponents @returnHandle="onReturnHandle" :title="title" :newArray="newArray"/>
</template>

<script>
//import HelloWorld from './components/HelloWorld.vue'
import myComponents from './components/myComponents.vue'

export default {
  name: 'App',
  components: {
    myComponents
	
	
	
  },
  data(){
	  return{
		  
		  title:"这是一个组件",
		  
		  newArray:["ddd","这是传入数组","cadadada"]
	  }
  },
  methods:{
	  onReturnHandle(msg){
		  console.log(msg)
	  }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
